/*
 * Copyright (c) 2005, 2014 vacoor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package org.vacoor.nothing.demo.jna;

import com.sun.jna.Library;
import com.sun.jna.Native;

/**
 * @author vacoor
 */
interface GNUCLibrary extends Library {
    GNUCLibrary INSTANCE = (GNUCLibrary) Native.loadLibrary("c", GNUCLibrary.class);
    int SIGKILL = 9;

    int getpid();

    int getppid();

    int fork();

    int killpg(int pid, int sig);

    int kill(int pid, int sig);

}
